package com.kyub.dynamoscaffold

import org.springframework.beans.PropertyEditorRegistrar
import org.springframework.beans.PropertyEditorRegistry
import org.springframework.beans.propertyeditors.CustomDateEditor
import java.text.SimpleDateFormat

/**
 
 */
class ExtraPropertyEditorRegistrar implements PropertyEditorRegistrar {
  void registerCustomEditors(PropertyEditorRegistry propertyEditorRegistry) {
    propertyEditorRegistry.registerCustomEditor(Date,new CustomDateEditor(new SimpleDateFormat('dd/MM/yyyy'),true))
  }
}
